package com.csl.xm.demo.entity;

import com.csl.xm.demo.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <pre>
 * 描述：用户表
 * </pre>
 *
 * @类名：com.csl.xm.demo.entity.User
 * @作者： 1410HL0236
 * @创建日期: 2019/11/20 13:19
 */
@Entity
@Table(name = "t_user")
@Data
public class User extends BaseEntity {
  @Column(name = "name", length = 100)
  private String name;

  @Column(name = "age")
  private Integer age;

}
